package com.yq.ylmall.dto.product;

import com.yq.ylmall.enums.product.ProductStatus;
import com.yq.ylmall.model.base.BasePage;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description = "商品分页查询封装参数")
public class ProductQueryDto extends BasePage {

    @ApiModelProperty(value = "商品名称")
    private String productName;

    @ApiModelProperty(value = "品牌名称")
    private String brandName;

    @ApiModelProperty(value = "一级分类id")
    private Long category1Id;

    @ApiModelProperty(value = "二级分类id")
    private Long category2Id;

    @ApiModelProperty(value = "三级分类id")
    private Long category3Id;

    @ApiModelProperty(value = "线上状态：0-初始值，1-上架，-1-自主下架")
    private ProductStatus status;

    @ApiModelProperty(value = "审核状态：0-初始值，1-通过，-1-未通过")
    private Integer auditStatus;

}
